.smart-table-wrapper {
  height: 200px;
  /* 初始高度 */
  position: relative;
  background: #fff;
  border-radius: 4px;
  padding: 16px;
  width: 100%;
  transition: height 0.2s ease-in-out;
  /* 关键动画属性 */
  will-change: height;
  /* 优化动画性能 */

  .error-message {
    color: #ff4d4f;
    text-align: center;
    padding: 16px;
  }

  .ant-pagination {
    margin-top: 16px;
  }

  @media (max-width: 768px) {
    padding: 8px;

    .ant-table-thead>tr>th {
      padding: 12px 8px;
    }

    .ant-table-tbody>tr>td {
      padding: 12px 8px;
    }
  }
}

/* 表格内部过渡优化 */
.animated-table .ant-table-body {
  transition: max-height 0.2s ease-in-out;
}

/* 响应式断点 */
@media (max-width: 768px) {
  .table-container {
    height: 50vh;
    /* 移动端调整高度 */
  }
}

.ant-table .ant-table-thead,
.ant-table .ant-table-row {
  height: 46px !important;
}